if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Staff]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[Staff]
GO

CREATE TABLE [dbo].[Staff] (
	[Id] [int] IDENTITY (1, 1) NOT NULL ,
	[LastName] [varchar] (255) COLLATE Latin1_General_CI_AS NOT NULL ,
	[FirstName] [varchar] (255) COLLATE Latin1_General_CI_AS NOT NULL ,
	[MiddleName] [varchar] (255) COLLATE Latin1_General_CI_AS NULL ,
	[EmailAddress] [varchar] (512) COLLATE Latin1_General_CI_AS NOT NULL ,
	[TelephoneNumber] [varchar] (50) COLLATE Latin1_General_CI_AS NULL ,
	[Extension] [varchar] (32) COLLATE Latin1_General_CI_AS NULL ,
	[LocationId] [int] NULL ,
	[Photo] [image] NULL 
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

